package com.vcc.service.client.userCard.request;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class ClientUserCardSetLimitRequest implements Serializable {

    @NotNull(message = "请选择卡片")
    private Long id;


    @NotNull(message = "请选择调增还是调减")
    private Boolean status;


    @NotNull(message = "请输入额度")
    @Min(value = 0, message = "额度最小为0")
    private BigDecimal limit;

}
